﻿using Eoffice.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace Eoffice.Controllers
{
    public class UserController : Controller
    {
        //
        // GET: /User/
        [Authorize(Roles = "Admin")]
        public ActionResult Index()
        {
            return View(Membership.GetUser());
        }

    }
}
